Udb\AdminMenu\Ajax\Get_Menu D

Total Complexity 145
Dependencies 2
Dependents 1
Total lines 867
Lines of code 430
Logical lines of code 287
Comment lines 270
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
parse_response_with_custom_menu()
C
35 30 81
build_custom_menu_item()
A
42 14 61
get_new_default_menu_items()
A
47 12 33
compare_default_menu_with_recent_menu()
A
50 12 25
compare_default_submenu_with_recent_menu()
A
49 11 30
format_merged_default_menu()
A
46 10 37
format_response()
A
54 10 19
check_menu_items_capability()
A
51 9 26
ajax()
A
54 9 19
merge_default_menu_submenu()
S
58 5 16
fix_woo_products_submenu()
S
62 5 11
build_custom_submenu_item()
S
56 4 19
load_menu()
S
57 4 16
fix_submenu_customizer_link()
S
57 4 16
generate_unique_index()
S
61 4 13
parse_response_without_custom_menu()
S
66 2 8